inherited FRotinaGeraSaldoPorNF: TFRotinaGeraSaldoPorNF
  Left = 248
  Top = 155
  Width = 611
  Height = 296
  Anchors = []
  Caption = 'Gera Saldo Por NF'
  Constraints.MaxHeight = 0
  Constraints.MaxWidth = 0
  Constraints.MinHeight = 0
  Constraints.MinWidth = 0
  OldCreateOrder = True
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 16
  inherited panel2: TPanel
    Width = 603
    inherited BtnExec: TBitBtn
      OnClick = BtnExecClick
    end
    inherited ProgressBar: TProgressBar
      Left = 128
    end
  end
  inherited pnBg: TPanel
    Width = 603
    Height = 227
    object lbFornecedor: TLabel
      Left = 17
      Top = 131
      Width = 92
      Height = 16
      Caption = 'Fornecedor (F8)'
    end
    object Label4: TLabel
      Left = 17
      Top = 179
      Width = 36
      Height = 16
      Caption = 'CFOP'
    end
    object Label1: TLabel
      Left = 17
      Top = 89
      Width = 101
      Height = 16
      Caption = 'Local de Estoque'
    end
    object Label5: TLabel
      Left = 17
      Top = 4
      Width = 67
      Height = 16
      Caption = 'Cliente (F8)'
    end
    object Label2: TLabel
      Left = 17
      Top = 46
      Width = 36
      Height = 16
      Caption = 'CFOP'
    end
    object DBLCBFornecedor: TDBLookupComboBox
      Left = 17
      Top = 151
      Width = 363
      Height = 22
      Ctl3D = False
      DataField = 'CP_FORNECEDOR'
      KeyField = 'FORN_CODIGO'
      ListField = 'FORN_RAZAO'
      ListSource = DSFornecedor
      ParentCtl3D = False
      TabOrder = 0
      OnKeyDown = DBLCBFornecedorKeyDown
    end
    object DBLCBCFOPNF: TDBLookupComboBox
      Left = 17
      Top = 196
      Width = 363
      Height = 22
      Ctl3D = False
      KeyField = 'CFOP_CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DataSource1
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 1
      OnKeyDown = DBLCBCFOPNFKeyDown
    end
    object Edit1: TEdit
      Left = 17
      Top = 105
      Width = 105
      Height = 22
      TabOrder = 2
    end
    object DBLCBCliente: TDBLookupComboBox
      Left = 17
      Top = 20
      Width = 363
      Height = 22
      Hint = '(F3) Visualizar Descri'#231#227'o'
      Ctl3D = False
      DataField = 'NF_CLIENTE'
      KeyField = 'CLI_CODIGO'
      ListField = 'CLI_RAZAO'
      ListSource = DSCliente
      ParentCtl3D = False
      TabOrder = 3
      OnKeyDown = DBLCBClienteKeyDown
    end
    object DBLookupComboBox1: TDBLookupComboBox
      Left = 17
      Top = 63
      Width = 363
      Height = 22
      Ctl3D = False
      DataField = 'NF_CFOPNF'
      KeyField = 'CFOP_CODIGO'
      ListField = 'DESCRICAO'
      ListSource = DSCFOPNF
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 4
      OnKeyDown = DBLookupComboBox1KeyDown
    end
  end
  object DSFornecedor: TDataSource
    DataSet = DMGestao.QFornecedor
    Left = 374
    Top = 189
  end
  object DSCFOPNF: TDataSource
    DataSet = QCFOP
    Left = 320
    Top = 112
  end
  object DSCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 392
    Top = 56
  end
  object Q_Consulta_saldo: TQuery
    DatabaseName = 'base'
    Left = 664
    Top = 200
  end
  object QCFOP: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT'
      '  CFOP.*,'
      
        '  CAST(CFOP.CFOP_CODIGOFISCAL AS CHAR(5)) || '#39'  '#39' || CFOP.CFOP_D' +
        'ESCRICAO AS DESCRICAO'
      'FROM'
      '  CFOP'
      'WHERE'
      '  (EXCLUIDO <> '#39'S'#39' OR EXCLUIDO IS NULL)'
      'ORDER BY'
      '  CFOP_CODIGOFISCAL')
    Left = 378
    Top = 109
  end
  object QCFOP2: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT'
      '  CFOP.*,'
      
        '  CAST(CFOP.CFOP_CODIGOFISCAL AS CHAR(5)) || '#39'  '#39' || CFOP.CFOP_D' +
        'ESCRICAO AS DESCRICAO'
      'FROM'
      '  CFOP'
      'WHERE'
      '  (EXCLUIDO <> '#39'S'#39' OR EXCLUIDO IS NULL)'
      'ORDER BY'
      '  CFOP_CODIGOFISCAL')
    Left = 378
    Top = 229
  end
  object DataSource1: TDataSource
    DataSet = QCFOP2
    Left = 304
    Top = 232
  end
  object DataSource2: TDataSource
    Left = 408
    Top = 152
  end
  object QCadastro: TQuery
    DatabaseName = 'base'
    Left = 480
    Top = 80
  end
  object cdsCadastro: TClientDataSet
    Aggregates = <>
    PacketRecords = 10000
    Params = <>
    ProviderName = 'dspCadastro'
    Left = 480
    Top = 128
  end
  object dspCadastro: TDataSetProvider
    DataSet = QCadastro
    Constraints = True
    Options = [poAllowCommandText]
    Left = 480
    Top = 176
  end
  object dsCadastro: TDataSource
    AutoEdit = False
    DataSet = cdsCadastro
    Left = 480
    Top = 224
  end
  object Q_ESTOQUE: TQuery
    DatabaseName = 'base'
    Left = 560
    Top = 80
  end
  object CDS_ESTOQUE: TClientDataSet
    Aggregates = <>
    PacketRecords = 10000
    Params = <>
    ProviderName = 'DataSetProvider1'
    Left = 560
    Top = 128
  end
  object DataSetProvider1: TDataSetProvider
    DataSet = Q_ESTOQUE
    Constraints = True
    Options = [poAllowCommandText]
    Left = 560
    Top = 176
  end
  object DS_ESTOQUE: TDataSource
    AutoEdit = False
    DataSet = CDS_ESTOQUE
    Left = 560
    Top = 224
  end
end
